package cn.test.action.user;


import java.io.InputStream;

import cn.test.service.UserService;

import com.opensymphony.xwork2.ActionSupport;

@SuppressWarnings("serial")
public class GenerateExcelAction extends ActionSupport {
	private UserService userService;
	public UserService getUserService() {
		return userService;
	}

	public void setUserService(UserService userService) {
		this.userService = userService;
	}
	public InputStream getDownloadFile() {
		return this.userService.getInputStream();
	}
	@Override
	public String execute(){
		return SUCCESS;
	}
}
